<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/projects.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:44 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>H+ 后台主题UI框架 - 项目</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico"> <link href="/bootstrap/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="/bootstrap/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <link href="/bootstrap/css/animate.min.css" rel="stylesheet">
    <link href="/bootstrap/css/style.min862f.css?v=4.1.0" rel="stylesheet">


</head>

<body class="gray-bg">

<div class="wrapper wrapper-content animated fadeInUp">
    <div class="row">
        <div class="col-sm-12">

            <div class="ibox">
                <div class="ibox-title">
                    <h5>企业列表</h5>
                    <div class="ibox-tools">
                        <!--<a href="{:url('Borrower/borrowCreate')}" class="btn btn-primary">新增标的</a>-->
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row m-b-sm m-t-sm">
                        <div class="col-md-1">
                            <button type="button" id="loading-example-btn" class="btn btn-white btn-sm"><i class="fa fa-refresh"></i> 刷新</button>
                        </div>
                        <form action="">
                           <div class="row">
                                <div class="col-sm-1 m-b-xs">
                                    编号   <input type="input"  name="title" class="form-control input-s-sm inline" value="">
                                </div>
                                <div class="col-sm-2     m-b-xs">
                                    企业名称   <input type="input"  name="asset" class="form-control input-s-sm inline" value="">
                                </div>
                                <div class="col-sm-1 m-b-xs">
                                  联系人号码<input type="input"  name="title" class="form-control input-s-sm inline" value="">
                                </div>
                                <div class="col-sm-1 m-b-xs">
                                    企业法人 <input type="input"  name="title" class="form-control input-s-sm inline" value="">
                                </div>
                                <div class="col-sm-1 m-b-xs">
                                    关联资产   <select name="date" class="form-control input-s-sm inline">
                                              </select>
                                </div>
                                <div class="col-sm-1 m-b-xs">
                                    审核状态   <select name="status" class="form-control input-s-sm inline">
                                              </select>
                                </div>
                           </div>
                            <div class="row" style="padding-top: 20px">
                                <div class="col-sm-1 m-b-xs"></div>
                                <div class="col-sm-4 m-b-xs">
                                   <div class="row">
                                       <div class="col-sm-2 m-b-xs">注册时间</div>
                                       <div class="col-sm-3 m-b-xs">   <input name="start_time" id="start" placeholder="开始日期"  class="form-control datepicker" readonly ></div>
                                       <div class="col-sm-1 m-b-xs">--</div>
                                       <div class="col-sm-3 m-b-xs">  <input type="input" id="end" name="end_time"  placeholder="结束日期"  id="end"  readonly class="form-control input-s-sm inline datepicker" ></div>
                                   </div>
                               </div>
                                <div class="col-sm-4 m-b-xs">
                                    <div class="row">
                                        <div class="col-sm-2 m-b-xs">剩余可借额度</div>
                                        <div class="col-sm-3 m-b-xs">  <input type="input"  name="title" class="form-control input-s-sm inline" value=""></div>
                                        <div class="col-sm-1 m-b-xs">--</div>
                                        <div class="col-sm-3 m-b-xs">  <input type="input"  name="title" class="form-control input-s-sm inline" value=""></div>
                                    </div>
                                </div>
                                <div class="col-sm-1 m-b-xs">
                                    <button  class="btn btn-primary" > 搜索</button>
                                </div>
                           </div>
                        </form>
                    </div>


                </div>

                    <div class="project-list">

                        <table class="table table-striped table-bordered table-hover">
                            <thead>
                            <tr>
                                <th>编号</th>
                                <th>企业名称</th>
                                <th>借款金额</th>
                                <th>总收益（%）</th>
                                <th>起始时间 </th>
                                <th>结束时间</th>
                                <th>借款期限（月）</th>
                                <th>剩余期限（月）</th>
                                <th>状态 </th>
                                <th>更新时间</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <th>编号</th>
                                <th>企业名称</th>
                                <th>借款金额</th>
                                <th>总收益（%）</th>
                                <th>起始时间 </th>
                                <th>结束时间</th>
                                <th>借款期限（月）</th>
                                <th>剩余期限（月）</th>
                                <th>状态 </th>
                                <th>更新时间</th>

                                <th>
                                    <a href="{:url('Enterpriseloan/show',['id'=>1])}" class="btn btn-info  btn-sm">详情</a>
                                    <a href="{:url('Enterpriseloan/update',['id'=>1])}" class="btn btn-default  btn-sm">编辑</a>
                                    <a href="{:url('Management/add_company',['id'=>1])}" class="btn btn-success  btn-sm " >添加</a>
                                    <button class="btn btn-danger  btn-sm delete" onclick="delect()">删除</button>
                                </th>
                            </tr>
                            </tbody>
                            <tfoot>
                            </tfoot>
                        </table>
                        <div>
                            <div >

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="/bootstrap/js/jquery.min.js?v=2.1.4"></script>
<script src="/bootstrap/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/bootstrap/js/content.min.js?v=1.0.0"></script>

<script type="text/javascript" src="/bootstrap/date/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="/bootstrap/date/bootstrap-datetimepicker.zh-CN.js"></script>
<link rel="stylesheet" href="/bootstrap/date/bootstrap-datetimepicker.min.css">

<script>
    $(document).ready(function(){
          $("#loading-example-btn").click(function(){
              history.go(0);
              //  btn=$(this);simpleLoad(btn,true);simpleLoad(btn,false)})});function simpleLoad(btn,state){if(state){btn.children().addClass("fa-spin");btn.contents().last().replaceWith(" Loading")}else{setTimeout(function(){btn.children().removeClass("fa-spin");btn.contents().last().replaceWith(" Refresh")},2000)}
        })
    });
        //日期选择
    (function($){
        $.fn.datetimepicker.dates['zh-CN'] = {
            days: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
            daysShort: ['周日','周一','周二','周三','周四','周五','周六'],
            daysMin: ['日','一','二','三','四','五','六'],
            months: ['一月','二月','三月','四月','五月','六月', '七月','八月','九月','十月','十一月','十二月'],
            monthsShort: ['一月','二月','三月','四月','五月','六月', '七月','八月','九月','十月','十一月','十二月'],
            today: '今天',
            suffix: [],
            meridiem: [],
            weekStart: 1,
            format: 'yyyy-mm-dd'
        };
    }(jQuery));
    $(function() {
        //初始化日期插件
        $("#start").datetimepicker({
            language : 'zh-CN',
            weekStart : 1,
            todayBtn : 1,
            autoclose : 1,
            todayHighlight : 1,
            startView : 2,
            minView: "month",
            format: 'yyyy-mm-dd',
            forceParse : 0,
            endDate : new Date()
        }).on('hide', function(event) {
            event.preventDefault();
            event.stopPropagation();
            var startTime = event.date;
            $('#end').datetimepicker('setStartDate',startTime);
            $('#end').val("");
        });
        $("#end").datetimepicker({
            language : 'zh-CN',
            weekStart : 1,
            todayBtn : 1,
            autoclose : 1,
            todayHighlight : 1,
            startView : 2,
            minView: "month",
            format: 'yyyy-mm-dd',
            forceParse : 0,
            endDate : new Date()
        }).on('hide', function(event) {
            event.preventDefault();
            event.stopPropagation();
            var endTime = event.date;
            $('#start').datetimepicker('setEndDate',endTime);
        });
    });

    function  delect(id) {
        if(confirm("确定要删除数据吗？"))
        {
        }else{
            return;
        }
        $.ajaxSetup({
            headers: { 'X-CSRF-TOKEN' : '{{ csrf_token() }}' }
        });
        $.ajax({
            type:'get',
            url:'',
            //    dataType:'json',
            data:{id:id},
            success: function(data){
                if(!data)
                {
                    alert('系统有误稍后再试')
                    return
                }
                location.assign(location)
            }
        });
    }
</script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
</body>

<!-- Mirrored from www.zi-han.net/theme/hplus/projects.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:44 GMT -->
</html>
